.markdown-body {
  color: #595959;
  background-image: linear-gradient(
      90deg,
      rgba(60, 10, 30, 0.04) 3%,
      rgba(0, 0, 0, 0) 3%
    ),
    linear-gradient(360deg, rgba(60, 10, 30, 0.04) 3%, rgba(0, 0, 0, 0) 3%);
  background-size: 20px 20px;
  background-position: center center;
}

/* 段落间距控制 */
.markdown-body p + p {
  margin-top: 16px;
}

/* 标题的通用设置 */
.markdown-body h1,
.markdown-body h2,
.markdown-body h3,
.markdown-body h4,
.markdown-body h5,
.markdown-body h6 {
  padding: 30px 0;
  margin: 0;
  color: #4f46e5;
}

/* 一级标题 */
.markdown-body h1 {
  text-align: center;
  font-size: 22px;
  margin: 50px 0;
}

/* 二级标题 */
.markdown-body h2 {
  position: relative;
  font-size: 20px;
  border-left: 4px solid;
  padding: 0 0 0 10px;
  margin: 30px 0;
}

/* 三级标题 */
.markdown-body h3 {
  font-size: 16px;
}
.markdown-body ol,
.markdown-body ul {
  padding-left: 28px;
}

/* 无序列表 */
.markdown-body ul {
  list-style: disc outside;
}

/* 无序列表内容 */
.markdown-body li {
  line-height: 2;
  color: #595959;
  margin-bottom: 0;
  list-style: inherit;
}

.markdown-body img {
  max-width: 100%;
}

/* 已加载图片 */
.markdown-body img.loaded {
  margin: 0 auto;
  display: block;
}

/* 引用 */
.markdown-body blockquote {
  background: #eef2ff;
  margin: 2em 0;
  padding: 2px 20px;
  border-left: 4px solid #4f46e5;
}

/* 链接 */
.markdown-body a,
.link {
  color: #4f46e5;
  border-bottom: 1px solid #4f46e5;
  font-weight: 400;
  text-decoration: none;
}

/* 加粗 */
.markdown-body strong {
  color: #4f46e5;
}

/* 加粗斜体 */
.markdown-body em strong {
  color: #4f46e5;
}

/* 分隔线 */
.markdown-body hr {
  border-top: 1px solid #ddd;
}

/* 代码 */
.markdown-body pre {
  font-family: Operator Mono, Consolas, Monaco, Menlo, monospace;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
  line-height: 1.75;
}

.markdown-body pre > code {
  min-width: 100%;
  font-size: 14px;
  word-break: normal;
  display: block;
  flex: none;
  padding: 12px;
}

.markdown-body p code:not(pre code),
.markdown-body li code:not(pre code) {
  word-break: break-word;
  border-radius: 2px;
  overflow-x: auto;
  background-color: #fff5f5;
  color: #ff502c;
  font-size: 0.87em;
  padding: 0.065em 0.4em;
}

/* 表格 */
.markdown-body table {
  border-collapse: collapse;
  margin: 1rem 0;
  overflow-x: auto;
}

.markdown-body table th,
.markdown-body table td {
  border: 1px solid #dfe2e5;
  padding: 0.6em 1em;
  background: inherit;
}

.markdown-body table tr:nth-child(2n) {
  background-color: #f6f8fa;
}
